﻿using RuoVea.ExDto;
using RuoVea.ExSugar.Attributes;

namespace RuoVea.OmiApi.Article.Service.Dto;

/// <summary>
/// 
/// </summary>
public class FavoriteParam : PageParam
{
    /// <summary>
    /// 
    /// </summary>
    public long UserId { get; set; }

    /// <summary>
    /// 
    /// </summary>
    private int _currentPage;
    /// <summary>
    /// 
    /// </summary>
    public int CurrentPage
    {
        get { return _currentPage; }
        set
        {
            _currentPage = value;
            base.PageNo = value;
        }
    }
}
/// <summary>
/// 
/// </summary>
public class FavoriteDto
{
    /// <summary>
    /// 
    /// </summary>
    public long UserId { get; set; }

    /// <summary>
    /// 文章ID
    /// </summary>
    public long ArticleId { get; set; }
}
